var suiteLogin = function(oui){
    this.checkIfASpanWithEthanExist = function(){
        oui.openPage("../../SiteToTest/HTMLPage.htm")
        var span = oui.findById("mySpan");
        if(span){
            oui.assertEquals(span.innerHTML,"Ethan");
        }
    } ,
    this.getElementsByCssWithPrototype = function(){
        oui.openPage("../../SiteToTest/HTMLPage_2.htm")
        var span = oui.findAll("span.spanClass")[0];
        if(span){
            oui.assertEquals(span.innerHTML,"Ethan");
        }
    },
    this.getByIdAndUsingPrototypeInTheElement = function(){
        oui.openPage("../../SiteToTest/HTMLPage.htm")
        var span = oui.findById("mySpan");
        if(span){
            oui.assertTrue(span.getWidth() > 0);
        }
    },
    this.clickAButtonAnTheOkInAndAlert = function(){
        oui.openPage("../../SiteToTest/HTMLPage_3.htm")
        var ib = oui.findAll("input[name=alertButton]")[0];       
        if(ib){
            var alertCalled = oui.clickAlertOk(ib);
            oui.assertTrue(alertCalled);
        }
    },
    this.clickAButtonAnDoConfimOK = function(){
        oui.openPage("../../SiteToTest/HTMLPage.htm")
        var ib = oui.findAll("input[name=myButtom]")[0];
        if(ib){
            var confirmCalled = oui.clickConfirmOk(ib);
            oui.assertTrue(confirmCalled);
        }
    },
    this.clickAButtonAnDoConfimCancel = function(){
        oui.openPage("../../SiteToTest/HTMLPage.htm")
        var ib = oui.findAll("input[name=myButtom]")[0];
        if(ib){
            var confirmCalled = oui.clickConfirmCancel(ib);
            oui.assertTrue(confirmCalled);
        }
    }
}